package com.kingyun.gpsinspection.purificationservice.dao.mapper.iam.scyx;


import com.kingyun.gpsinspection.purificationservice.facade.model.iam.scyx.OverhaulProject;

import java.util.List;


public interface OverhaulProjectMapper {
    /***
     * 删除操作
     *
     * @param overhaulProjectId 主键
     * @return
     */
    int deleteByPrimaryKey(String overhaulProjectId);

    /**
     * 新增操作
     *
     * @param record 业务数据
     * @return
     */
    int insert(OverhaulProject record);

    /***
     * 新增操作
     *
     * @param record 业务数据
     * @return
     */
    int insertSelective(OverhaulProject record);

    /***
     * 查询操作
     *
     * @param overhaulProjectId 主键
     * @return
     */
    OverhaulProject selectByPrimaryKey(String overhaulProjectId);

    /***
     * 修改操作
     *
     * @param record 业务数据
     * @return
     */
    int updateByPrimaryKeySelective(OverhaulProject record);

    /***
     * 修改操作
     *
     * @param record 业务数据
     * @return
     */

    int updateByPrimaryKey(OverhaulProject record);

    /**
     * 查询操作
     *
     * @param overhaulProject 查询条件对象
     * @return
     */
    List<OverhaulProject> queryList(OverhaulProject overhaulProject);

    /**
     * 查询总条数
     *
     * @param overhaulProject 查询条件对象
     * @return
     */
    Integer queryCount(OverhaulProject overhaulProject);

}